package com.zoshine.zzg.pojo;

import com.zoshine.zzg.base.Pagination;
import com.zoshine.zzg.pojo.pojostatus.FamilyMemberOrderStatus;

import java.util.List;

/**
 * 家属点单：订单信息
 * @author 贾俊峰
 * @time 2017/8/5 14:18
 */
public class FamilyMemberOrder extends Pagination {
    private static final long serialVersionUID = -504772384860371269L;

    /**家属编号*/
    private Long familyMemberId;
    /**订单总金额*/
    private Integer totalPrice;
    /**订单明细列表*/
    private List<FamilyMemberOrderDetail> orderDetailList;
    /**订单状态*/
    private Integer orderStatus;
    /**犯人编号*/
    private Long prisonerId;
    /**支付方式*/
    private Integer payType;

    public String getStatusStr(){
        return FamilyMemberOrderStatus.getDesc(orderStatus);
    }
    public Long getFamilyMemberId() {
        return familyMemberId;
    }

    public void setFamilyMemberId(Long familyMemberId) {
        this.familyMemberId = familyMemberId;
    }

    public Integer getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Integer totalPrice) {
        this.totalPrice = totalPrice;
    }

    public List<FamilyMemberOrderDetail> getOrderDetailList() {
        return orderDetailList;
    }

    public void setOrderDetailList(List<FamilyMemberOrderDetail> orderDetailList) {
        this.orderDetailList = orderDetailList;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Long getPrisonerId() {
        return prisonerId;
    }

    public void setPrisonerId(Long prisonerId) {
        this.prisonerId = prisonerId;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }
}
